//package com.example.helloworld;
//
//import android.app.TabActivity;  
//import android.os.Bundle;  
//import android.widget.TabHost;  
// 
//public class TestHostActivity extends TabActivity {  
//    /** Called when the activity is first created. */ 
//    @Override 
//    public void onCreate(Bundle savedInstanceState) {  
//        super.onCreate(savedInstanceState);  
//        setContentView(R.layout.tabs);  
//        TabHost tabhost =  getTabHost();    
//        tabhost.addTab(tabhost.newTabSpec("111").setIndicator("view1").setContent(R.id.view1));    
//        tabhost.addTab(tabhost.newTabSpec("222").setIndicator("view2").setContent(R.id.view2));    
//    }  
//}